﻿using SqlSugar;

namespace SCM.Model.DBEntity
{
    /// <summary>
    /// 功能表
    /// </summary>
    [SugarTable("T_Function")]
    public class T_Function : EntityBase
    {
        /// <summary>
        /// 功能ID
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 企业ID
        /// </summary>
        public string CompanyID { get; set; }

        /// <summary>
        /// 权限点key值
        /// </summary>
        public string FunctionKey { get; set; }

        /// <summary>
        /// 权限点名
        /// </summary>
        public string FunctionName { get; set; }

        /// <summary>
        /// 权限链接
        /// </summary>
        public string FunctionUrl { get; set; }

        /// <summary>
        /// 权限索引
        /// </summary>
        public string FunctionIndex { get; set; }

        /// <summary>
        /// 权限图标
        /// </summary>
        public string FunctionIcon { get; set; }

        /// <summary>
        /// 权限点描述
        /// </summary>
        public string FunctionDescription { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public string ParentID { get; set; }

        /// <summary>
        /// 父级权限名称
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string ParentName { get; set; }
    }
}